<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	    		xmlns:ui="http://java.sun.com/jsf/facelets"
	  			xmlns:h="http://java.sun.com/jsf/html"
	  			xmlns:f="http://java.sun.com/jsf/core"
	  			xmlns:s="http://jboss.com/products/seam/taglib"
                xmlns:a="https://ajax4jsf.dev.java.net/ajax"
				template="template.xhtml">

<!-- content -->
<ui:define name="content">

<div class="section">
	<h:messages />
	
		<br/><br/>
		
	<h:form id="projectsForm">
	    <h:dataTable var="project" value="#{projects}">
	    	<h:column>
	    		<f:facet name="header">
	    			Project
	    		</f:facet>
	    		<h:outputText value="#{project.name}" />
	    	</h:column>
	    	<h:column>
	    		<f:facet name="header">
	    			Description
	    		</f:facet>
				<h:outputText value="#{project.description}" />
	    	</h:column>
	    	<h:column>
	    		<f:facet name="header">
	    			Action
	    		</f:facet>
	    		<h:commandLink action="#{editProject.select}" value="Edit Project" />
	    	</h:column>
	    </h:dataTable>
	</h:form>
</div>

</ui:define>

</ui:composition>
